package com.cldz.dao;

import com.cldz.common.dto.req.FsuDto;
import com.cldz.common.dto.req.FsuSpDto;
import com.cldz.entity.Fsu;
import com.cldz.entity.FsuDevice;
import com.cldz.entity.FsuSp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ Author     ：lixiao.
 * @ Date       ：Created in 10:25 2018/12/21
 * @ Description：
 * @ Modified By：
 */
@Mapper
public interface FsuMapper {

    List<Fsu> getFsuGetDevices(FsuDto fsuDto);

    Integer getFsuGetDevicesAmount(FsuDto fsuDto);

    List<Fsu> getFsuGetDevicesWithStation(FsuDto fsuDto);

    Integer getFsuGetDevicesWithStationAmount(FsuDto fsuDto);

    Fsu getFsuGetSpecifyDevice(String suID);

    List<FsuDevice> getFsuGetSunDev(String suID);

    List<FsuSp> getFsuGetSpID(FsuSpDto fsuSpDto);
}
